package com.baizhi.mapper;

import com.baizhi.entity.Section;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SectionMapper {
    List<Section> selectAll(@Param("search") String search,@Param("offset") Integer offset,@Param("limit") Integer limit);
    Integer count(@Param("search") String search);
    void insert(Section s);
    void deleteById(Integer id);
    void update(Section s);
    void deleteAny(@Param("ids") List<Integer>ids);
}
